-- 应用配置文件
-- 用于分类不同应用的配置参数

local config = {}

-- 阅读应用配置
config.phoenix_read = {
    package_name = "com.phoenix.read",
    elements = {
        home_page = {class_name = "android.widget.TextView", text = "首页"},
        book_shelf = {class_name = "android.widget.TextView", text = "书架"},
        mine = {class_name = "android.widget.TextView", text = "我的"},
        
        -- 导航菜单元素
        urban_daily = {class_name = "android.widget.TextView", text = "都市日常"},
        benefits = {class_name = "android.widget.TextView", text = "福利"},
        follow_shows = {class_name = "android.widget.TextView", text = "追剧"},
        new_shows = {class_name = "android.widget.TextView", text = "新剧"},
        
        -- 福利界面元素
        continuous_drama = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "连续看短剧福利B"},
        new_drama_two_minutes = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "看新剧满2分钟B"},
        treasure_chest = {class_name = "com.lynx.tasm.behavior.ui.text.FlattenUIText", text = "开宝箱得金币"},
        short_drama_coins = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "看短剧赚金币B"},
        daily_income = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "收益日报奖励B"},
        sign_in = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "签到领金币B"},
        video_massive_coins = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "看视频赚海量金币B"},
        coin_red_packet = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "金币红包雨B"},
        meal_subsidy = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "吃饭补贴B"},
        night_snack_subsidy = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "领夜宵补贴金币"},
        watch_video_claim = {class_name = "com.lynx.tasm.behavior.ui.text.FlattenUIText", text = "看视频补领"},
        listen_read_coins = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "听读赚金币B"},
        sleep_earn_coins = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", text = "睡觉赚金币B"},
        
        -- 广告相关元素
        ad_label = {class_name = "com.lynx.tasm.behavior.ui.text.FlattenUIText", text = "广告"},
        immediate_download = {class_name = "com.lynx.tasm.behavior.ui.text.FlattenUIText", text = "立即下载"},
        download_button = {class_name = "com.lynx.tasm.behavior.ui.LynxFlattenUI", depth = 3},
        pause_button = {class_name = "android.widget.TextView", text = "暂停"},
        close_button = {class_name = "com.lynx.tasm.ui.image.UIImage", depth = 3},
        feedback_button = {class_name = "com.lynx.tasm.behavior.ui.view.UIView", packageName = "com.phoenix.read", text = "反馈"},
        
        -- 观看视频相关元素
        playback_speed = {class_name = "android.widget.TextView", text = "倍速"},
        like_button = {class_name = "android.widget.LinearLayout", id = "com.phoenix.read:id/e1m", depth = 7},
        favorite_button = {class_name = "android.widget.LinearLayout", id = "com.phoenix.read:id/cjb", depth = 8},
        cancel_button = {class_name = "android.widget.TextView", text = "取消"},
        video_entry = {class_name = "android.widget.TextView", id = "com.phoenix.read:id/title", depth = 9},
        comment_button = {class_name = "android.widget.LinearLayout", id = "com.phoenix.read:id/bma", depth = 7},
        input_button = {class_name = "android.widget.TextView", id = "com.phoenix.read:id/f0z", depth = 4, text = ""},
        input_field = {class_name = "android.widget.EditText", depth = 3},
        publish_button = {class_name = "android.widget.TextView", packageName = "com.phoenix.read", text = "发表"}
    }
}

-- 其他应用1配置
config.app1 = {
    package_name = "com.example.app1",
    elements = {
        -- 配置应用1的元素
    }
}

-- 其他应用2配置
config.app2 = {
    package_name = "com.example.app2",
    elements = {
        -- 配置应用2的元素
    }
}

return config 